/* @(#)GSBalancedDetailQryResultVO.java
 * 
 *  Project:GS
 *  
 *  Modify  Information:
 *  ===============================================
 *   Author          Date            Description
 *  -------------- ---------------  ---------------
 *  Jenny  Li      2006-5-12          新增
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 *
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * @author Administrator
 *
 */
public class GSBalancedDetailQryResultVO implements GSBaseBean {

    public String orderDetailId;
    
    public String deliverGoodId;
    
    public String deptName;
    
    public String concentricity;
    
    public String manufName;
    
    public String isTradeFlatManuf;
    
    public String isTradeFlatProvider;
    
    public String spec;
    
    public String type;
    
    public String brand;
    
    public String manufacter;
    
    public double orderCount;
    
    public String quantUnit;
    
    public double orgUnitPrice;
    
    public double signUnitPrice;
    
    public double signCount;
    
    public String signDate;
    
    public String orderId;
    
    public String providerName;
    
    public String providerId;
    
    public String manufactureId;
    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSBalancedDetailQryResultVO tVO = new GSBalancedDetailQryResultVO();
        tVO.orderDetailId = aResultSet.getString("P1")== null? "":aResultSet.getString("P1");
        tVO.concentricity = aResultSet.getString("P2")== null? "":aResultSet.getString("P2");
        tVO.manufName = aResultSet.getString("P3")== null? "":aResultSet.getString("P3");
        tVO.isTradeFlatManuf = aResultSet.getString("P4")== null? "":aResultSet.getString("P4");
        tVO.spec = aResultSet.getString("P5") == null? "":aResultSet.getString("P5");
        tVO.type = aResultSet.getString("P6") == null? "":aResultSet.getString("P6");
        tVO.brand = aResultSet.getString("P7") == null? "":aResultSet.getString("P7");
        tVO.orderCount = aResultSet.getDouble("P8");
        tVO.quantUnit = aResultSet.getString("P9")== null? "":aResultSet.getString("P9");
        tVO.providerName = aResultSet.getString("P10")== null? "":aResultSet.getString("P10");
        tVO.deptName = aResultSet.getString("P11")== null? "":aResultSet.getString("P11");
        tVO.signUnitPrice = aResultSet.getDouble("P12");
        tVO.orgUnitPrice = aResultSet.getDouble("P13");
        tVO.orderId = aResultSet.getString("P14")== null? "":aResultSet.getString("P14");
        tVO.providerId = aResultSet.getString("P15")== null? "":aResultSet.getString("P15");
        tVO.isTradeFlatProvider = aResultSet.getString("P16")== null? "":aResultSet.getString("P16");
        tVO.deliverGoodId = aResultSet.getString("P17")== null? "":aResultSet.getString("P17");
        tVO.signCount = aResultSet.getDouble("P18");
        tVO.signDate = aResultSet.getString("P19") == null? "":aResultSet.getString("P19").trim();
        tVO.manufacter = aResultSet.getString("P20") == null? "":aResultSet.getString("P20").trim();
        try{
        	tVO.manufactureId = aResultSet.getString("P21") == null? "":aResultSet.getString("P21").trim();
        }catch(Exception e){}
        return tVO;
    }

}
